<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:cc="http://java.sun.com/jsf/composite"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:h="http://java.sun.com/jsf/html">

<!-- INTERFACE -->
<cc:interface>
</cc:interface>

<!-- IMPLEMENTATION -->
<cc:implementation>
	<h2>Menu</h2>
	<h:form>
		<p:commandButton ajax="false" value="Home" action="/home"
			style="width: 185px;border: none; text-align: left"
			image="ui-icon ui-icon-triangle-1-e" />
		<p:accordionPanel activeIndex="">
			<p:tab title="#{bundle.Platform}">
				<h:panelGrid columns="1" cellpadding="10">

					<p:commandLink value="#{bundle.Create}"
						action="/platform/create?faces-redirect=true" ajax="false" />
					<p:commandLink value="#{bundle.List}"
						action="/platform/list?faces-redirect=true" ajax="false" />
					<p:commandLink value="#{bundle.Delete}"
						action="/platform/delete?faces-redirect=true" ajax="false" />
				</h:panelGrid>
			</p:tab>
			<p:tab title="Experiment">
				<h:panelGrid columns="1" cellpadding="10">
					<p:commandLink value="#{bundle.Create}"
						action="/experiment/create?faces-redirect=true" ajax="false" />
					<p:commandLink value="#{bundle.List}"
						action="/experiment/list?faces-redirect=true" ajax="false" />
					<p:commandLink value="#{bundle.Delete}"
						action="/experiment/delete?faces-redirect=true" ajax="false" />
				</h:panelGrid>
			</p:tab>
			<p:tab title="GEO Series">
				<h:panelGrid columns="1" cellpadding="10">
					<p:commandLink value="#{bundle.ImportMenuLabel}"
						action="/geoseries/import?faces-redirect=true" ajax="false" />
				</h:panelGrid>
			</p:tab>
			<p:tab title="Array Express">
				<h:panelGrid columns="1" cellpadding="10">
					<p:commandLink value="#{bundle.ImportMenuLabel}"
						action="/arrayExpress/import?faces-redirect=true" ajax="false" />
				</h:panelGrid>
			</p:tab>

			<p:tab title="Gene">
				<h:panelGrid columns="1" cellpadding="10">
					<p:commandLink value="#{bundle.ImportGene}" 
					action="/gene/import?faces-redirect=true"  ajax="false" />
				</h:panelGrid>
			</p:tab>

			<p:tab title="Function Analysis">
				<h:panelGrid columns="1" cellpadding="10">
					<p:commandLink value="#{bundle.NewAnalysis}"
						action="/functionAnalysis/newAnalysis?faces-redirect=true" ajax="false" />
					<p:commandLink value="#{bundle.AnalysisHistory}"
						action="/functionAnalysis/analysisHistory.xhtml" ajax="false" />

				</h:panelGrid>
			</p:tab>
			<p:tab title="Test">
				<h:panelGrid columns="1" cellpadding="10">
					<p:commandLink value="#{bundle.Create}"
						action="/test/create?faces-redirect=true" ajax="false" />
					<p:commandLink value="#{bundle.List}"
						action="/test/list?faces-redirect=true" ajax="false" />
					<p:commandLink value="#{bundle.Delete}"
						action="/test/delete?faces-redirect=true" ajax="false" />
				</h:panelGrid>
			</p:tab>
		</p:accordionPanel>
	</h:form>
</cc:implementation>
</html>